// Copyright (c) 2025 coze-dev Authors
// SPDX-License-Identifier: Apache-2.0
import { type editor } from '@cozeloop/components';

export const codeOptionsConfig: editor.IStandaloneEditorConstructionOptions = {
  lineNumbersMinChars: 3,
  automaticLayout: true,
  scrollBeyondLastLine: false,
  renderLineHighlight: 'none',
  minimap: {
    enabled: false,
  },
};
export const languageList = [
  'plaintext',
  'abap',
  'apex',
  'azcli',
  'bat',
  'bicep',
  'cameligo',
  'clojure',
  'coffeescript',
  'c',
  'cpp',
  'csharp',
  'csp',
  'css',
  'cypher',
  'dart',
  'dockerfile',
  'ecl',
  'elixir',
  'flow9',
  'fsharp',
  'freemarker2',
  'go',
  'graphql',
  'handlebars',
  'hcl',
  'html',
  'ini',
  'java',
  'javascript',
  'julia',
  'kotlin',
  'less',
  'lexon',
  'lua',
  'liquid',
  'm3',
  'markdown',
  'mdx',
  'mips',
  'msdax',
  'mysql',
  'objective-c',
  'pascal',
  'pascaligo',
  'perl',
  'pgsql',
  'php',
  'pla',
  'postiats',
  'powerquery',
  'powershell',
  'proto',
  'pug',
  'python',
  'qsharp',
  'r',
  'razor',
  'redis',
  'redshift',
  'restructuredtext',
  'ruby',
  'rust',
  'sb',
  'scala',
  'scheme',
  'scss',
  'shell',
  'sol',
  'aes',
  'sparql',
  'sql',
  'st',
  'swift',
  'systemverilog',
  'verilog',
  'tcl',
  'twig',
  'typescript',
  'typespec',
  'vb',
  'wgsl',
  'xml',
  'yaml',
  'json',
];
